<template>
  <view class="container">
    <view class="common_cell common_cell2">
      <u-cell-group :border="false">
        <u-cell :border="false" isLink title="头像">
          <view slot="value">
            <u-avatar
              size="85.227rpx"
              :src="'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'"
            ></u-avatar>
          </view>
        </u-cell>

        <u-cell :border="false" isLink title="昵称" value="吃饭"> </u-cell>
      </u-cell-group>
    </view>
  </view>
</template>
    
    <script>
export default {
  components: {},
  data() {
    return {
      // 页面参数
      options: {},
    };
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {},

  methods: {
    toMoney() {
      // uni.navigateTo({
      //   url: "/pages/me/money/index",
      // });
      uni.navigateTo({
        url: `/pages/index/recharge/index?type=2`,
      });
    },
    toWarning() {
      uni.navigateTo({
        url: "/pages/me/warning/index",
      });
    },
  },
};
</script>
    
    <style lang="scss" scoped>
.container {
  background: #f6f7fb;

  padding: 0rpx;
}

.u-cell-left {
  display: flex;
  align-items: center;
  img {
    width: 37.5rpx;
    height: 37.5rpx;
  }

  text {
    margin-left: 34.091rpx;
  }
}

.common_cell {
  background: #fff !important;

  border-radius: 17.045rpx;
  margin-top: 18.75rpx;
  padding-left: 34.091rpx;
  padding-right: 34.091rpx;

  ::v-deep .u-cell__body {
    padding-top: 35.795rpx !important;
  }
}
</style>
    